Ext.define('UDZ.view.personal.Address_Add', {
    extend: 'Ext.Panel',
    xtype: 'addressAdd',
    requires: [
        'Ext.data.JsonP'
    ],
    config: {
        xtype:'panel',
        fullscreen:true,
        style:'background-color:#f9f9f9;',
        cls:'change_nick',
        layout:{
            type:'vbox'
        },
        items:[
            {
                xtype:'toolbar',
                title:'收货地址管理',
                items:[
                    {
                        xtype:'image',
                        cls:'myinfo_back',
                        id:'add_address_back',
                        src:'resources/images/left-arrow.png',
                    }
                ]
            },
            {
                flex:2,
                xtype:'list',
                id:'address-add',
                style:'background-color:white',
            },
            {
                xtype:'panel',
                height:60,
                docked:'bottom',
                cls:'bottombar bgcolor',
                layout:{
                    type:'hbox',
                },
                items:[
                    {
                        flex:1,
                    },
                    {
                        flex:5,
                        xtype:'panel',
                        items:[
                            {
                                xtype:'button',
                                text:'保存',
                                cls:'address_save'
                            }
                        ]
                    }
                ]
            }
        ]
    }
});
